package cn.tedu._07springaop.egaop1;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestOrder {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext acac = new AnnotationConfigApplicationContext("cn.tedu._07springaop");
        OrderServiceImpl bean = acac.getBean(OrderServiceImpl.class);
        bean.placeOrder(100);
    }
}
